package org.itcast.annotationandresttemplate.swaggerTest.service;

import org.itcast.annotationandresttemplate.swaggerTest.entity.PageResult;
import org.itcast.annotationandresttemplate.swaggerTest.entity.SwaggerDTO;

import java.util.List;

public interface SwaggerService {
    int save(SwaggerDTO swaggerDTO);

    List<SwaggerDTO> find(SwaggerDTO swaggerDTO);

    PageResult findByPage(SwaggerDTO swaggerDTO);
}
